package game.units;

public class Attribute {
	
	private String name;
	private int value;
	private int modifier;
	
	
	public String getName() {
		return name;
	}
	
	public int getValue() {
		return value;
	}
	
	public void setValue(int value) {
		this.modifier = (value-10)/2;
		this.value = value;
	}
	
	public int getModifier() {
		return modifier;
	}

	public void setModifier(int modifier) {
		this.modifier = modifier;
	}	
	
}
